package com.ihelin.insurance.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 营销管理员
 *
 * @author iHelin ihelin@outlook.com
 * @since 2021-02-28 15:10:22
 */
@TableName("t_salesman")
public class SalesmanEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Integer id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String name;
    /**
     * 考核代理人人数
     */
    private Integer agentCount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAgentCount() {
        return agentCount;
    }

    public void setAgentCount(Integer agentCount) {
        this.agentCount = agentCount;
    }

    @Override
    public String toString() {
        return "SalesmanEntity{" +
            "id='" + id + '\'' +
            "username='" + username + '\'' +
            "password='" + password + '\'' +
            "name='" + name + '\'' +
            "agentCount='" + agentCount + '\'' +
            '}';
    }

}
